/**
 * 
 */
package GUI.GameLoadWindowPackage;

import javax.swing.JTextField;

/**
 * @author Avia Tam
 * @author Assaf Miron
 *
 */
@SuppressWarnings("serial")
public class PlayerTextField extends JTextField {
	private Integer index;
	
	PlayerTextField(Integer index, String text)
	{
		super(10);
		this.index = index;
		// Set initial Text
		setText(text);
	}
	
	Integer getIndex()
	{
		return index;
	}
	

}
